#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.basic.security.oauth2.inter;

import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;

/**
 * Description:
 *  链接权限接口
 *
 * @author wupanhua
 * @date 2019-09-01 22:01
 *
 * <pre>
 *              ${copyright}
 *      Copyright (c) 2019. All Rights Reserved.
 * </pre>
 */
public interface YkUrlPermission {

    /**
     * Description:
     * <判断当前登陆用户是否有此权限>
     * @author wupanhua
     * @date 22:04 2019-09-01

     * @return boolean
     */
    boolean hasUrlPermission(HttpServletRequest request, Authentication authentication);
}
